package com.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.entity.TripOrder;

import java.util.List;

/**
 * 出行预约service接口
 */
public interface TripOrderService extends IService<TripOrder> {
    /**
     * 根据用户id查询出行预约的所有记录
     * @param userId
     * @return
     */
   TripOrder getByUserId(Long userId);

}
